// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_QC_PQC_RECORD
// * CreateDate    : 2014-06-05 18:30:30
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:30
// * LastChanger   : 2014-06-05 18:30:30
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class QcPqcRecordTable : TableInfo
    {
		public const string C_TableName = "QC_PQC_RECORD";
		
		public const string C_ID = "ID";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_PQC_NO = "PQC_NO";
		public const string C_SN = "SN";
		public const string C_ITEM_NAME = "ITEM_NAME";
		public const string C_STD = "STD";
		public const string C_TOLERANCE = "TOLERANCE";
		public const string C_RESULT = "RESULT";
		
		public QcPqcRecordTable()
        {
            _tableName = "QC_PQC_RECORD";
        }
		
		protected static QcPqcRecordTable _current;
        public static QcPqcRecordTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new QcPqcRecordTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_PQC_NO, new ColumnInfo(C_PQC_NO,"PqcNo", false, typeof(string)));
            _current.Add(C_SN, new ColumnInfo(C_SN,"Sn", false, typeof(string)));
            _current.Add(C_ITEM_NAME, new ColumnInfo(C_ITEM_NAME,"ItemName", false, typeof(string)));
            _current.Add(C_STD, new ColumnInfo(C_STD,"Std", false, typeof(string)));
            _current.Add(C_TOLERANCE, new ColumnInfo(C_TOLERANCE,"Tolerance", false, typeof(string)));
            _current.Add(C_RESULT, new ColumnInfo(C_RESULT,"Result", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo PQC_NO
        {
            get { return this[C_PQC_NO]; }
        }
		
		public ColumnInfo SN
        {
            get { return this[C_SN]; }
        }
		
		public ColumnInfo ITEM_NAME
        {
            get { return this[C_ITEM_NAME]; }
        }
		
		public ColumnInfo STD
        {
            get { return this[C_STD]; }
        }
		
		public ColumnInfo TOLERANCE
        {
            get { return this[C_TOLERANCE]; }
        }
		
		public ColumnInfo RESULT
        {
            get { return this[C_RESULT]; }
        }
		
		
		
	}
}

